﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Com.CMS263.BLL;
using Com.CMS263.PO;
namespace Com.CMS263.Web.manage.MarryInfo
{
    public partial class MarryShowList : System.Web.UI.Page
    {
        public MarryShowBLL bll = new MarryShowBLL();
        public IList<Com.CMS263.PO.MarryShow> list = null;
        public int page = 1;
        int pageSize = 20;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!string.IsNullOrEmpty(Request["page"]))
            {
                page = int.Parse(Request["page"]);
            }
            list = bll.GetPagerList(page,pageSize);
        }
        public string Pager()
        { 
           int count=bll.GetCount();
           if (count == 0)
           {
               return "暂时没有数据";
           }
           else
           {
               return Util.EnPager.GetNumPager(5, count, pageSize, page, "");
           }
        }
    }
}
